'use strict';

const Controller = require('egg').Controller;

class HomeController extends Controller {
  async caipudata() {
    let title = this.ctx.request.query;
    // console.log(title);
    this.ctx.body = await this.ctx.service.zhh.caipudata(title)
  };
  async caipufenleidata() {
    let title = this.ctx.request.query;

    this.ctx.body = await this.ctx.service.zhh.caipufenleidata(title)
  };
  async motaisousuo(){
    let title = this.ctx.request.query;

    this.ctx.body = await this.ctx.service.zhh.caipufenleidata(title)
  }

}

module.exports = HomeController;
